package com.sky.business.sys.event;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 响应状态和消息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ErrorMetadata {
      /**
       * 操作状态
       */
      @JsonInclude(JsonInclude.Include.NON_NULL)
      protected Integer codeStatus;

      /**
       * 附加信息
       */
      @JsonInclude(JsonInclude.Include.NON_NULL)
      protected String message;
}
